package cn.hznc.exception;

import lombok.Getter;
import lombok.Setter;

/**
 * @Author：Administrator
 * @Date：2023/4/6 11:01
 */
@Getter
@Setter
public class ToolLifeCycleException extends  RuntimeException{
    private String code;
    private String msg;

    private Exception exception;

    public ToolLifeCycleException(String code, String msg, Exception exception) {
        this.code = code;
        this.msg = msg;
        this.exception = exception;
    }

    public ToolLifeCycleException(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
